4D Chart v13

CT GET DATE SCALE

Home

 
4D Chart v13
CT GET DATE SCALE

CT GET DATE SCALE 


 

CT GET DATE SCALE ( area ; object ; minAuto ; maxAuto ; majIncrAuto ; minIncrAuto ; minimum ; maximum ; majIncrType ; majIncr ; minIncrType ; minIncr ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
minAuto  Integer in Using default minimum? 0 = No 1 = Yes
maxAuto  Integer in Using default maximum? 0 = No 1 = Yes
majIncrAuto  Integer in Using default major increment? 0 = No 1 = Yes
minIncrAuto  Integer in Using default minor increment? 0 = No 1 = Yes
minimum  Date in Receives minimum value
maximum  Date in Receives maximum value
majIncrType  Integer in What is the major increment type? 1 = Days 2 = Weeks 3 = Months 4 = Years
majIncr  Integer in Receives major increment
minIncrType  Integer in What is the minor increment type? 1 = Days 2 = Weeks 3 = Months 4 = Years
minIncr  Integer in Receives minor increment

The CT GET DATE SCALE command returns whether the default values are being used or what alternative values have been set for the Values axis scale. CT GET DATE SCALE is used when the values are dates.

minAuto and maxAuto specify whether or not the graph is currently using the default minimum and maximum values.

majIncrAuto and minIncrAuto specify whether the graph is currently using the default major and minor increments.

minimum and maximum are the minimum and maximum values set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.

majIncrType and minIncrType are codes for the units in which the majorIncr and minorIncr parameters are specified.

majorIncr and minorIncr are the major and minor increments set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.

Example  

This example returns scale data for the chart specified by $ChartID.

 CT GET DATE SCALE(Area;$ChartID;$MinA;$MaxA;$MajA;$MinA;$Minimum;$Maximum;$MajType;$MajorInc;$MinType;
 $MinorInc)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14541

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET REAL SCALE
CT SET DATE SCALE
CT SET REAL SCALE